package net.javoft.client;

import com.google.gwt.junit.client.GWTTestCase;

public class GWTLabTestCase extends GWTTestCase {

	private GWTLab gwtLab;

	@Override
	public String getModuleName() {

		return "net.javoft.client.GWTLab";
	}

	@Override
	protected void gwtSetUp() throws Exception {
		gwtLab = new GWTLab();
	}

	protected void testAdd() {
		assertEquals(5, gwtLab.add(2, 3));
	}
	
	protected void testAddFail(){
		assertEquals(6, gwtLab.add(3, 2));
	}
}
